<?php
class AplicativosUsuario extends AppModel {

	var $name = 'AplicativosUsuario';
        var $recursive = 2;
	var $validate = array(
		'aplicativo_id' => array('notempty'),
		'usuario_id' => array('notempty'),
		'login' => array('notempty')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Aplicativo' => array(
			'className' => 'Aplicativo',
			'foreignKey' => 'aplicativo_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Usuario' => array(
			'className' => 'Usuario',
			'foreignKey' => 'usuario_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>